package pzl.com.simplechart;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.View;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);

        Log.e("pzl", "MAX_VALUE=" + Float.MAX_VALUE + "");
        Log.e("pzl", "MIN_VALUE=" + Float.MIN_VALUE + "");
        Log.e("pzl", Float.MIN_NORMAL < 0 ? "true" : "false");
    }

    public void click(View view) {
        Intent intent = new Intent();
        switch (view.getId()) {
            case R.id.btnLineChart:
                intent.setClass(this, LineChartActivity.class);
                break;
        }
        startActivity(intent);
    }


}
